package com.xoa.util.cms;

import com.xoa.util.cms.directive.*;
import org.apache.commons.collections4.map.HashedMap;

import java.util.Map;

/**
 * Created by 张勇 on 2018/3/14.
 */
public class CMSTemplateUtil {

    public static Map getInstance(){
        Map map = new HashedMap();
        map.put("Site",new CMSSiteDirective());
        map.put("Out", new CMSOutDirective());
        map.put("Channels", new CMSChannelsDirective());
        map.put("Channel", new CMSChannelDirective());
        map.put("RootPath",new CMSRootPathDirrctive());
        map.put("Documents",new CMSDocumentsDirective());
        map.put("Document",new CMSDocumentDirective());
        map.put("Localtion",new CMSLocationDirective());
        return map;
    }

}
